<header class="header">
    <div class="row">
        <h1 class="logo col-6 c-2ab270 pl-10 pt-10 pb-10 mt-10">
                <a href="/"><img src="/static/logo.png" title=""alt="yuscms logo"></a>
        </h1>
       
        <div class="flex text-r mt-25 pt-16 mr-15">
            <%if(!user){%>
            <a class="f-14" href="/user/reg">注册</a>
            <a class="f-14" href="/user/login">登录</a>
            <%}else{%>
                <%=user%>，欢迎来到Yuscms会员中心！
                <a class="f-14" href="/user/login/logout">退出</a>
            <%}%>
        </div>
    </div>
</header>